package eteam.aps.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import eteam.aps.common.entity.ParentEntity;
import io.swagger.annotations.ApiModelProperty;

/**
 * 保障机构
 *
 * @author WMT
 * @date 2023-01-07
 */
@TableName("ed_protection_org")
public class ProtectionOrg extends ParentEntity {

    /**
     * 保障机构类别【60生产商】
     */
    public static final int FORGCATEGORY_PRODUCER = 60;

    /**
     * 保障机构类别【50供应商，60生产商，70维修厂】
     */
    @ApiModelProperty(value = "保障机构类别")
    @TableField("FOrgCategory")
    private int fOrgCategory;

    /**
     * 编号，唯一 not null
     */
    @ApiModelProperty(value = "编号")
    @TableField("FOrgCode")
    private String fOrgCode;

    /**
     * 名称，唯一 not null
     */
    @ApiModelProperty(value = "名称")
    @TableField("FOrgName")
    private String fOrgName;

    /**
     * 注册地址 not null
     */
    @ApiModelProperty(value = "注册地址")
    @TableField("FRegAddress")
    private String fRegAddress;

    /**
     * 资质等级 not null
     */
    @ApiModelProperty(value = "资质等级")
    @TableField("FCredential")
    private String fCredential;

    /**
     * 联系人姓名 not null
     */
    @ApiModelProperty(value = "联系人")
    @TableField("FContact")
    private String fContact;

    /**
     * 联系电话 not null
     */
    @ApiModelProperty(value = "联系电话")
    @TableField("FPhone")
    private String fPhone;

    /**
     * 是否是内部【1内部，2外部】
     */
    @ApiModelProperty(value = "是否是内部【1内部，2外部】")
    @TableField("FIsInside")
    private int fIsInside;

    /**
     * 参数详情；子表的code 和 name 拼接
     */
    @ApiModelProperty(value = "参数详情；子表的code 和 name 拼接")
    @TableField("FParamInfo")
    private String fParamInfo;

    public int getfOrgCategory() {
        return fOrgCategory;
    }

    public void setfOrgCategory(int fOrgCategory) {
        this.fOrgCategory = fOrgCategory;
    }

    public String getfOrgCode() {
        return fOrgCode;
    }

    public void setfOrgCode(String fOrgCode) {
        this.fOrgCode = fOrgCode;
    }

    public String getfOrgName() {
        return fOrgName;
    }

    public void setfOrgName(String fOrgName) {
        this.fOrgName = fOrgName;
    }

    public String getfRegAddress() {
        return fRegAddress;
    }

    public void setfRegAddress(String fRegAddress) {
        this.fRegAddress = fRegAddress;
    }

    public String getfCredential() {
        return fCredential;
    }

    public void setfCredential(String fCredential) {
        this.fCredential = fCredential;
    }

    public String getfContact() {
        return fContact;
    }

    public void setfContact(String fContact) {
        this.fContact = fContact;
    }

    public String getfPhone() {
        return fPhone;
    }

    public void setfPhone(String fPhone) {
        this.fPhone = fPhone;
    }

    public int getfIsInside() {
        return fIsInside;
    }

    public void setfIsInside(int fIsInside) {
        this.fIsInside = fIsInside;
    }

    public String getfParamInfo() {
        return fParamInfo;
    }

    public void setfParamInfo(String fParamInfo) {
        this.fParamInfo = fParamInfo;
    }
}
